//
//  SDProductListCell.m
//  skinDetection
//
//  Created by  liangzhun on 2018/11/15.
//  Copyright © 2018年  liangzhun. All rights reserved.
//

#import "SDProductListCell.h"

@implementation SDProductListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.contentView.layer.cornerRadius = 5.0;
    self.contentView.layer.masksToBounds = YES;
    self.layer.cornerRadius = 5.0f;
    
}
-(void)setList:(SDHomeProductList *)list
{
    _list = list;
    [self.productImage sd_setImageWithURL:[NSURL URLWithString:list.sImg]];
    [self.productTitle setText:list.productName];
}
@end
